firmware-utils: kernel image generator for TP-Link RE450
authorTal Keren <[email protected]>
Thu, 7 Jan 2016 00:40:47 +0000 (02:40 +0200)
committerJo-Philipp Wich <[email protected]>
Thu, 22 Dec 2016 13:50:05 +0000 (14:50 +0100)
commitf5ff3036a6acab93f2bd1017225539cd41c6a706
tree2248dbc00f842586bed53757d33bcac02ba2a5a0
parent276f444cd35efd5ac413a3925acf42e98d0b31ae
firmware-utils: kernel image generator for TP-Link RE450

The firmware image that is used in TP-Link RE450 (and some more devices from
the RE series) is tplink-safeloader.
In the kernel partition, the kernel is compressed in a regular tp-link
firmware that is just used for booting. Since it is only used for compressing
and booting, only four fields are filled in the header:
Vendor, version, kernel load address and kernel entry point.
mktplinkfw-kernel is a simpler version of mktpolinkfw that generate such
images. It also specifies the hardware id (as it is in the product info
section), so when doing a sysupgrade - the existing code will check for
hardware compatibility.

Signed-off-by: Tal Keren <[email protected]>
[[email protected]: add build target to .../image/tp-link.mk]
Signed-off-by: Radek Dostál <[email protected]>
Makefile
src/mktplinkfw-kernel.c [new file with mode: 0644]